package com.ks.app.admin.hibernate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="MER_BASESET")
public class KMerBaseSet {
	private long baseId;
	private String discount; //基本折扣
	private String commission;//佣金率
	private String deposit;//保证金
	private String merlevel;//商家等级
	private String approve;//实地认证
	private String merAudit;//商家审核状态
	private String merBusData;//商家经营数据
	private String merSalerroom;//商家销售额
	private KsMerchantRegist merBaseSetID;//关联商家
	
	@Id
	@GeneratedValue
	public long getBaseId() {
		return baseId;
	}
	public void setBaseId(long baseId) {
		this.baseId = baseId;
	}
	public String getDiscount() {
		return discount;
	}
	public void setDiscount(String discount) {
		this.discount = discount;
	}
	public String getCommission() {
		return commission;
	}
	public void setCommission(String commission) {
		this.commission = commission;
	}
	public String getDeposit() {
		return deposit;
	}
	public void setDeposit(String deposit) {
		this.deposit = deposit;
	}
	public String getMerlevel() {
		return merlevel;
	}
	public void setMerlevel(String merlevel) {
		this.merlevel = merlevel;
	}
	public String getApprove() {
		return approve;
	}
	public void setApprove(String approve) {
		this.approve = approve;
	}
	public String getMerAudit() {
		return merAudit;
	}
	public void setMerAudit(String merAudit) {
		this.merAudit = merAudit;
	}
	public String getMerBusData() {
		return merBusData;
	}
	public void setMerBusData(String merBusData) {
		this.merBusData = merBusData;
	}
	public String getMerSalerroom() {
		return merSalerroom;
	}
	public void setMerSalerroom(String merSalerroom) {
		this.merSalerroom = merSalerroom;
	}
	@OneToOne(mappedBy="merBaseSetID")
	public KsMerchantRegist getMerBaseSetID() {
		return merBaseSetID;
	}
	public void setMerBaseSetID(KsMerchantRegist merBaseSetID) {
		this.merBaseSetID = merBaseSetID;
	}
	
	
	
}
